package main

import (
	"fmt"
	"sort"
)

func main() {
	m := map[int]string{1: "q", 2: "e"}
	s := make([]int, len(m))
	i := 0
	for k, v := range m {
		s[i] = k
		fmt.Println(v)
		fmt.Println(k)
	}
	sort.Ints(s)
	fmt.Print(s)
}
